<%--
  Created by IntelliJ IDEA.
  User: lt
  Date: 2017/5/9
  Time: 14:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
<head>

    <title>用户列表</title>
    <%@ include file="/common/include-core.jsp" %>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 系统管理 <span class="c-gray en">&gt;</span> 用户列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="text-c">
    <form action="/customer/customerList.html" method="post" id="searchForm">
        <input type="hidden" id="count" value="${pageInfo.total }" />
        <input type="hidden" id="page" name="page" value="${pageInfo.pageNum }" />
        <input type="hidden" id="pageSize" name="pageSize" value="${pageInfo.pageSize }" />
        <%--<input type="text" name="title"  value="${bean.title }" placeholder=" 请输入你要查询的活动标题" style="width:250px" class="input-text">
        <button name="" class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>--%>
    </form>
</div>
<div class="page-container">
    <table class="table table-border table-bordered table-hover table-bg">
        <thead>
        <tr class="text-c">
            <th width="15">序号</th>
            <th width="30">电话</th>
            <th width="30">真实姓名</th>
            <th width="100">头像</th>
            <th width="40">创建时间</th>
            <th width="15">操作</th>
        </tr>
        </thead>
        <tbody>
            <c:forEach items="${pageInfo.list}" var="item" varStatus="index">
                <tr class="text-c">
                    <td>${index.index+1}</td>
                    <td>${item.phone}</td>
                    <td>${item.nickName}</td>
                    <td>${item.picPath}</td>
                    <td><fmt:formatDate value="${item.createTime}" pattern="yyyy-MM-dd HH:mm" /></td>
                    <td class="f-14">
                        <a title="查看三方账户" href="javascript:;" onclick="layer_show('用户三方账户','/customer/otherAccountList.html?userId=${item.tid}','')" style="text-decoration:none">
                            <i class="Hui-iconfont">&#xe725;</i></a>
                        <a title="查看设备" href="javascript:;" onclick="layer_show('查看设备','/customer/deviceList.html?userId=${item.tid}','')" style="text-decoration:none">
                            <i class="Hui-iconfont">&#xe725;</i></a>
                    </td>
                </tr>
            </c:forEach>
        </tbody>
    </table>
    <div class="ui-page tr mt10" style="float: right;margin-top: 10px;margin-bottom: 10px"></div>
</div>
<script type="text/javascript" src="/static/js/user/userAdd.js"></script>
</body>
</html>
<%@ include file="/common/include-footer.jsp" %>